Crate rtcc[][src]

Expand description

Data structures and traits to be implemented by real-time clock / calendar devices.

Structs

NaiveDate

ISO 8601 calendar date without timezone. Allows for every proleptic Gregorian date from Jan 1, 262145 BCE to Dec 31, 262143 CE. Also supports the conversion from ISO 8601 ordinal and week date.

NaiveDateTime

ISO 8601 combined date and time without timezone.

NaiveTime

ISO 8601 time without timezone. Allows for the nanosecond precision and optional leap second representation.

Enums

Hours

Hours in either 12-hour (AM/PM) or 24-hour format

Traits

Datelike

The common set of methods for date component.

Rtcc

Real-Time Clock / Calendar

Timelike

The common set of methods for time component.